package com.fay.designPattern.pattern.behavior.template;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/4/21 13:17
 * @Version 1.0
 */
public abstract class AbstractClass {
    public final void templateMethod() {
        //...
        f1();
        //...
        f2();
    }

    protected abstract void f1();
    protected abstract void f2();
}
